package com.lbc.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * @author XYL
 * @date 2021-04-24 14:21
 */
@Data
public class KidUpdateDTO {
    @ApiModelProperty(value = "id",required = true)
    private Integer kidId;

    @ApiModelProperty(value = "图片",required = true)
    private String kidPicture;

    @ApiModelProperty(value = "姓名", required = true)
    private String name;

    @ApiModelProperty(value = "性别", required = true)
    private String sex;

    @JsonFormat(pattern = "yyyy/MM/dd")
    @ApiModelProperty(value = "出生日期", required = true)
    private Date birth;

    @NotBlank(message = "家庭住址不能为空!")
    @ApiModelProperty(value = "家庭住址", required = true)
    private String address;

    @NotBlank(message = "详情不能为空!")
    @ApiModelProperty(value = "详情", required = true)
    private String introduce;

    @ApiModelProperty(value = "身体状况")
    private String physicalCondition;

    @ApiModelProperty(value = "学习状况")
    private String studyCondition;

    @ApiModelProperty(value = "父母姓名")
    private String parentName;
    @ApiModelProperty(value = "父母姓名")
    private String parentEmail;
    @ApiModelProperty(value = "父母电话")
    private String parentPhoneNumber;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "学校id")
    private Integer schoolId;

    @ApiModelProperty(value = "对应组织机构ids")
    private List<Integer> orgIds;
}
